package com.leezk.order.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.leezk.order.entity.Menu;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author leotong
 * @since 2022-03-16
 */
public interface IMenuService extends IService<Menu> {

    Page<Menu> getMenus(Page<Menu> page);

    List<Menu> getAddMenu(int id,String typeCode);

    List<Menu> getMenuByDic(int did);

    List<Menu> getMenusByName(String name);
}
